html, body,div,img { border:0; margin:0; padding:0; }
body {background: url(../img/bg-tile.png) repeat;}
/*滚动条样式*/
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(50,50,50,.3);
}
::-webkit-scrollbar-track {
    background-color: rgba(50,50,50,.1);
}

/* .wrapper{
    margin: 1.2rem;
} */
.edit-main{
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/*左边页面和布局内容*/
.edit-left-side{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 230px;
    border-right: 1px solid #DDD;
    background: #FEFEFE;
}
/*左边页面列表TAB  start*/
page-panel {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
}
pages .padder {
    padding-left: 15px;
    padding-right: 15px;
}
pages .page-list {
    overflow-y: scroll;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FEFEFE;
    padding: 0 10px;
}

pages .page-list .list-group {
    border-radius: 2px;
    margin-bottom: 20px;
    padding-left: 0;
}

pages .page-list li.page-list-item {
    border: none;
    background: 0 0;
    width: 180px;
    height: 230px;
    margin: 15px auto 5px;
    overflow: hidden;
}

pages .page-list .list-group-item {
    border-color: #e8e8e8;
    padding-right: 15px;
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

pages .page-list .list-group-item.active {
    color: #fff;
    border-color: #65bd77!important;
    background-color: #97c6ec!important;
}

pages .page-list .list-group-item:first-child {
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}
/*背景设置*/
.backface{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-size: cover!important;
    pointer-events: none;
}

pages .page-list li.page-list-item .page-thumbnail {
    box-shadow: 0 0 10px rgba(0,0,0,.4);
    background: #fff;
    position: relative;
    width: 400px;
    height: 650px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform: scale(0.30);
    -webkit-transform: scale(0.30);
    left: 15px;
    top: -10px;
}
pages .page-list li.page-list-item .close {
    position: relative;
    top: -10px;
    left:-10px;
    cursor:pointer;
}
/*左边页面列表TAB  end*/
/*底部新增页面按钮*/
page-panel .tailer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
page-panel .tailer .newAddBtn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    font-weight: 500;
    border-radius: 2px;
    color: #fff!important;
    background-color: #2e3e4e;
    border-color: #2e3e4e;
}

/*编辑区域*/
.edit-zone {
    position: absolute;
    left: 230px;
    right: 0;
    top: 0;
    bottom: 0;
}

/*中间主编辑区域*/
.page-editor-wrapper{
    overflow-y: auto;
	position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-x: hidden;
}

.page-editor-wrapper .page-state-phone-out{
    position: absolute;
    left: 50%;
    margin-left: -210px;
    margin-top: 70px;
    width: 420px;
    height: 710px;
    margin-bottom: 30px;
    /*padding: 30px 10px;*/
    background:black;
    border-radius: 20px;
    border-color: #2e3e4e;
}

.page-editor-wrapper .page-stage-wrapper{
    position: absolute;
    left: 50%;
    margin-left: -200px;
    margin-top: 100px;
}
.page-editor-wrapper .editor-stage{
    display: block;
    width: 400px;
    height: 650px;
    background: url(../img/editbk.png) repeat;
    overflow: hidden;
}
.page-editor-wrapper .page-editor-btnDiv{
    position: absolute;
    left:0;
    top:0;
    width: 100%
}
.page-editor-wrapper .editButtonGroup{
    margin-left: 10px;
    margin-top: 1px;
   
}

/*右侧控制面板区域*/
.edit-right-handles{
    position: absolute;
    right: 0;
    width: 300px;
    top: 0;
    bottom: 0px;
    border-left: 1px solid #ddd;
    background: #fff;
}

/*右侧控制面板区域*/
.edit-right-handles .rightTab{
    position: absolute;
    left: 0;
    top: 40px;
    right: 0;
    bottom: 0;
    margin:10px 10px;
    font-size:12px;
    /*overflow-y: auto;*/
}

/*右边编辑区域*/
.edit-right-handles .rightTab input[type=color]{
    width:25px;
    height:25px;
    margin-left:10px;
    cursor: pointer;
}

.edit-right-handles .rightTab .h5-labeled-input{
	margin:5px 0;
}
.edit-right-handles .rightTab .ui.header{
    margin-top:0px!important;
    margin-bottom:3px!important;
}

/*控件基本样式*/
.lg-trailer {
    position: absolute;
    z-index: 0;
    font-size: 28px;
    cursor: default;
}
.lg-surface {
    overflow: hidden;
    position: absolute;
    box-sizing: content-box;
}

/*文本控件样式*/
.lg-component-label {
    outline: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.lg-component-label, .lg-component-label a, .lg-component-label font, .lg-component-label p, .lg-component-label span {
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: .2px;
    -moz-osx-font-smoothing: grayscale;
}
.lg-component-label, .lg-component-label a, .lg-component-label p, .lg-component-label span {
    font-family: "Helvetica Neue",Helvetica,STHeiTi,sans-serif;
}
.lg-component-label {
    font-size: 24px;
    color: #000;
    line-height: 1.5em;
    box-sizing: content-box;
}

/*图片控件样式*/
.lg-component-img {
    background-repeat: no-repeat;
    background-position: center center;
    box-sizing: border-box;
    vertical-align: top;
}
/*输入框控件样式*/
.lg-component-input {
    margin: 0;
    display: block;
    padding: 0 5px;
    box-sizing: border-box;
    border-style: solid;
}

/*控件选中边框的样式*/
.component-handles div{
	display: block;
}

.lg-component-handle {
    position: absolute;
    overflow: visible;
    pointer-events: none;
    background: 0 0;
    cursor: move;
    border: 1px solid rgba(157,172,255,.9);
}
.lg-component-handle .handle {
    position: absolute;
    display: block;
    width: 5px;
    height: 5px;
    background: #fff;
    border: 1px solid #000;
    box-sizing: content-box;
    margin-left: -4px;
    margin-top: -4px;
    pointer-events: all;
}
.lg-component-handle .handle.nw {
    left: 0;
    top: 0;
    cursor: nw-resize;
}
.lg-component-handle .handle.n {
    left: 50%;
    top: 0;
    cursor: n-resize;
}
.lg-component-handle .handle.ne {
    left: 100%;
    top: 0;
    cursor: ne-resize;
    margin-left: -3px;
}
.lg-component-handle .handle.e {
    left: 100%;
    top: 50%;
    cursor: e-resize;
    margin-left: -3px;
    margin-top: -3px;
}
.lg-component-handle .handle.se {
    left: 100%;
    top: 100%;
    cursor: se-resize;
    margin-left: -3px;
}
.lg-component-handle .handle.s {
    left: 50%;
    top: 100%;
    cursor: s-resize;
    margin-top: -3px;
}
.lg-component-handle .handle.sw {
    left: 0;
    top: 100%;
    cursor: sw-resize;
    margin-top: -3px;
}
.lg-component-handle .handle.w {
    left: 0;
    top: 50%;
    cursor: w-resize;
    margin-top: -3px;
}


/*预览页面*/
.preview .mid-content{
    position: relative;
    width: 900px;
    height: 100%;
    margin: 0 auto;
    color: #FFF;
}

.preview .close{
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -375px;
    cursor:pointer;
    transform:scale(2);
}

.preview .phone-container{
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -375px;
    width: 520px;
    height: 720px;
    box-sizing: content-box;
}

.preview .phone {
    position: absolute;
    left: 40px;
    width: 400px;
    height: 650px;
    display: inline-block;
    background: #fff;
    box-sizing: content-box;
    border-top: 40px solid #FFF;
    border-left: 10px solid #FFF;
    border-right: 10px solid #FFF;
    border-bottom: 60px solid #FFF;
    border-radius: 20px;
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.preview .arrow {
    position: absolute;
    right: 0;
    bottom: 16px;
    border: 1px solid #FFF;
    border-radius: 12px;
    width: 40px;
    height: 74px;
    padding: 1px;
}

.preview .arrow>div {
    background-image: url(../img/previewicon.png);
    background-repeat: no-repeat;
    width: 40px;
    height: 25px;
    cursor: pointer;
}
.preview .arrow .up {
    display: block;
    background-position: 3px -76px;
    margin-top: 3px;
}
.preview .arrow .down {
    background-position: 3px -114px;
    margin-top: 17px;
    display: block;
}

.preview .right {
    position: absolute;
    left: 570px;
    width: 300px;
    top: 50%;
    margin-top: -325px;
    height: 650px;
    font-size: 14px;
    text-align: center;
}

.preview  .right .qrcode-container {
    width: 170px;
    height: 170px;
    background-color: #FFF;
    border-radius: 5px;
    margin: 70px auto 10px;
}

.preview .right .qrcode-container .qrcode {
    width: 160px;
    height: 160px;
    margin: 5px;
    float: left;
    overflow: hidden;
}

.preview .right .qrcode-container .qrcode img {
    width: 160px;
    height: 160px;
}
.preview .right .text {
    width: 100%;
    height: auto;
}
.preview .right .text.title {
    font-size: 19px;
    margin-top: 40px;
}

/*预览后端送的内容样式*/
.preview .lg-container{
    border: 1px solid #888;
    -webkit-transform: scale(1)!important;
    -ms-transform: scale(1)!important;
    transform: scale(1)!important;
    opacity: 1;
}

.preview .lg-back-stage {
    z-index: 0;
}
.preview .lg-backface {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    pointer-events: none;
}
.preview .lg-page-container {
    width: 400px;
    height: 100%;
    min-height: 650px;
    position: relative;
    overflow: visible;
}
.preview .islider-outer {
    display: block;
    position: relative;
}
/*.preview .lg-page-container ul{
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}*/
.preview .islider-outer, .islider-outer>li {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    list-style: none;
}
.preview .islider-outer>li {
    /*position: absolute;
    top: 0;
    left: 0;*/
    display: -moz-box;
    display: -webkit-box;
    display: box;
    -moz-box-pack: center;
    -webkit-box-pack: center;
    box-pack: center;
    -moz-box-align: center;
    -webkit-box-align: center;
    box-align: center;
}

.preview .islider-outer .view-page{
    position: relative; 
    display: block;
    width: 400px;
    height: 650px;
}

/*选择框的css
height:'30px',lineHeight:'30px',borderRadius:0,padding:'0 10px',maxWidth:'280px',marginTop:'5px',marginBottom:'5px',fontSize:'12px'
*/
input[type=range] {
    display: block;
    width: 100%;
}
input[type="range" i] {
    -webkit-appearance: slider-horizontal;
    color: rgb(144, 144, 144);
    padding: initial;
    border: initial;
}
.input-sm {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-addon:first-child {
    border-right: 0;
}


select.input-sm{
    height:30px;
    line-height:30px;
    border-radius:0;
    padding:0 5px;
    max-width:280px;
    margin-bottom:5px;
    font-size:12px;
}

.form-control {
    display: block;
    width: 100%;
    height: 32px;
    padding: 6px 12px;
    font-size: 13px;
    color: #555;
    border: 1px solid #d9d9d9;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

div.panel-group .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
div.panel-group .input-group .input-group-addon {
    font-weight: 400;
    line-height:1;
    color: #555;
    text-align: center;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    padding: 5px 8px;
    font-size: 12px;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #f9f9f9;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;

}
div.panel-group .input-group .form-control,.input-group-addon,.input-group-btn {
    display: table-cell;
}
div.panel-body select {
    border-radius: 0;
    padding: 0 10px;
}
div.panel-group .input-group select.form-control{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fafafa url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path fill="gray" d="M5,5H15L10,9z" /></svg>') right 7px no-repeat;
    line-height: 1em;
    padding: 0 8px;
    overflow: visible;
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

div.panel-group .input-group .ranger {
    border-right: none;
    padding: 5px;
    width: 100%;
}

div.panel-group .input-group input[type=number].form-control {
    padding: 5px;
    padding-right: 1px;
}

div.panel-group .input-group .ranger+input[type=number].form-control {
    width: 50px;
}

div.panel-group .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child>.btn-group:not(:first-child)>.btn, .input-group-btn:first-child>.btn:not(:first-child), .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group>.btn, .input-group-btn:last-child>.dropdown-toggle {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.form-inline input.form-control {
    display: inline-block;
    width: auto;
    vertical-align: initial;
}
